<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="Demo03.js" ></script>
<title> DOM(Document Object Model) 文档对象模型</title>
</head>

<body onload="ready()">
	<a href="#">标题1</a> <br />
    <a href="#">标题2</a> <br />
    <a href="#">标题3</a> <br />
	<input type="button" onclick="writeUrl()" value="设置地址" />    
</body>
</html>
